package org.example.bigwork.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.bigwork.entity.StudentTask;
import org.example.bigwork.entity.Task;
import java.util.List;

@Mapper
public interface StudentTaskMapper {
    void insert(StudentTask studentTask);
    void delete(String studentId, String taskId);
    List<Task> findTasksByStudentId(String studentId);
    StudentTask findByStudentIdAndTaskId(String studentId, String taskId);
}